package com.goodmr.passport.webapp.model.request;

import com.google.gson.annotations.SerializedName;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 刷新 token 请求数据包
 *
 * @author <a href="mailto:bingdong13@msn.com">bigo</a>
 */
@Setter
public class RefreshTokenReq implements Serializable {

    private static final long serialVersionUID = -7588893565717540591L;

    @NotBlank
    @SerializedName("access_token")
    private String accessToken;

    @NotBlank
    @SerializedName("refresh_token")
    private String refreshToken;
}
